package com.dt76.smallloanbackendservice.mapper.zjs;

import com.dt76.smallloanbackendservice.pojo.zjs.BlackUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BlackUserMapper {

    List<BlackUser> qryAllBlackUser();

    List<BlackUser> qryPageAllBlackUser(@Param("start") int start,
                                        @Param("size") int size,
                                        @Param("queryName") String queryName,
                                        @Param("queryUserId") int queryUserId);
    int qryCount(@Param("queryName") String queryName,
                 @Param("queryUserId") int queryUserId);

    void delBlackUser(@Param("userId") int userId);
}
